<?php
/**
 * /depot/library/models/Module/Interface/Auth.php
 * @author qqinxl
 * 2008/03/31
 * 
 * @category  
 * @package  
 * @copyright  Copyright (c) {}
 */
interface Module_Interface_Auth {	
	public function isLogin();
	public function checkAuth($username,$password,$isMd5 = false);
	public function checkAuthId($userid,$password,$isMd5 = true);
	public function setSession($data,$isRecordLoginTime = false);
	public function clearSession($isRecordLogoutTime = true);
	public function getCheckAuthBy();
	public function setCheckAuthBy($field);
}

